Optimal. Leaf size=26 \[ a \log (x)-\frac {1}{2} b \text {PolyLog}(2,-c x)+\frac {1}{2} b \text {PolyLog}(2,c x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {6031}
\begin {gather*} a \log (x)-\frac {1}{2} b \text {Li}_2(-c x)+\frac {1}{2} b \text {Li}_2(c x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6031
Rubi steps
\begin {align*} \int \frac {a+b \tanh ^{-1}(c x)}{x} \, dx &=a \log (x)-\frac {1}{2} b \text {Li}_2(-c x)+\frac {1}{2} b \text {Li}_2(c x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 24, normalized size = 0.92 \begin {gather*} a \log (x)+\frac {1}{2} b (-\text {PolyLog}(2,-c x)+\text {PolyLog}(2,c x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(46\) vs.
\(2(22)=44\).
time = 0.02, size = 47, normalized size = 1.81
method | result | size |
risch | \(a \ln \left (-c x \right )+\frac {b \dilog \left (-c x +1\right )}{2}-\frac {b \dilog \left (c x +1\right )}{2}\) | \(28\) |
derivativedivides | \(a \ln \left (c x \right )+b \ln \left (c x \right ) \arctanh \left (c x \right )-\frac {b \dilog \left (c x \right )}{2}-\frac {b \dilog \left (c x +1\right )}{2}-\frac {b \ln \left (c x \right ) \ln \left (c x +1\right )}{2}\) | \(47\) |
default | \(a \ln \left (c x \right )+b \ln \left (c x \right ) \arctanh \left (c x \right )-\frac {b \dilog \left (c x \right )}{2}-\frac {b \dilog \left (c x +1\right )}{2}-\frac {b \ln \left (c x \right ) \ln \left (c x +1\right )}{2}\) | \(47\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {atanh}{\left (c x \right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {a+b\,\mathrm {atanh}\left (c\,x\right )}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________